<%@ page language="java" contentType="text/html; charset=utf-8"
    import="java.util.*,kk.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<%
Long i=Long.parseLong(request.getParameter("id"));
String s=request.getParameter("id1");
NewsDao n=new NewsDao();
int i1=n.del(i);
if(i1>0)
out.print(s+"删除成功");
else
out.print(s+"删除失败");
 %>
</body>
</html>